home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
a_utils
/
_archvrs
/
mac
/
tar40.sit
/
tar.rsrc
/
bin.rsrc_CODE_2_STDCLIB.txt
< prev
next >
Wrap
Text File
|
1994-02-02
|
18KB
|
349 lines
# near model CODE resource
# entry label at 0x0000
entry:
fn00000000:
00000000 4E56 0000 link A6, 0
00000004 48E7 0018 movem.l -[A7], A3,A4
00000008 47ED FA18 lea.l A3, [A5 - 0x5E8]
0000000C 286E 0008 movea.l A4, [A6 + 0x8]
00000010 202C 0014 move.l D0, [A4 + 0x14]
00000014 D0BC 0000 076C add.l D0, 0x76C
0000001A 2F00 move.l -[A7], D0
0000001C 2F14 move.l -[A7], [A4]
0000001E 2F2C 0004 move.l -[A7], [A4 + 0x4]
00000022 2F2C 0008 move.l -[A7], [A4 + 0x8]
00000026 2F2C 000C move.l -[A7], [A4 + 0xC]
0000002A 302C 0012 move.w D0, [A4 + 0x12]
0000002E E540 asl D0.w, 2
00000030 41ED FA32 lea.l A0, [A5 - 0x5CE]
00000034 4870 0000 pea.l [A0 + D0.w]
00000038 302C 001A move.w D0, [A4 + 0x1A]
0000003C E540 asl D0.w, 2
0000003E 41ED FA62 lea.l A0, [A5 - 0x59E]
00000042 4870 0000 pea.l [A0 + D0.w]
00000046 487A 001E pea.l [PC + 0x1E /* 00000066 */]
0000004A 2F0B move.l -[A7], A3
0000004C 4EAD 01A2 jsr [A5 + 0x1A2]
00000050 200B move.l D0, A3
00000052 4CEE 1800 FFF8 movem.l A4,A3, [A6 - 0x8]
00000058 4E5E unlink A6
0000005A 4E75 rts
0000005C 8761 or.w -[A1], D3
0000005E 7363 moveq.l D1, 0x63
00000060 7469 moveq.l D2, 0x69
00000062 6D65 blt +0x67 /* 000000C9 */
00000064 0020 252E ori.b -[A0], 0x2E /* '.' */
00000068 3373 2025 2E33 move.w [A1 + 0x2E33], [A3 + D2.w + 0x25]
0000006E 7325 moveq.l D1, 0x25
00000070 3364 2025 move.w [A1 + 0x2025], -[A4]
00000074 2E32 643A move.l D7, [A2 + D6.w * 4 + 0x3A]
00000078 252E 3264 move.l -[A2], [A6 + 0x3264]
0000007C 3A25 move.w D5, -[A5]
0000007E 2E32 6420 move.l D7, [A2 + D6.w * 4 + 0x20]
00000082 2564 0D00 move.l [A2 + 0xD00], -[A4]
export_40:
00000086 4E56 0000 link A6, 0
0000008A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000008E 4EBA 00CC jsr [PC + 0xCC /* 0000015C */]
00000092 588F addq.l A7, 4
00000094 2F00 move.l -[A7], D0
00000096 4EBA FF68 jsr [PC - 0x98 /* 00000000 */]
0000009A 4E5E unlink A6
0000009C 4E75 rts
0000009E 8563 or.w -[A3], D2
000000A0 7469 moveq.l D2, 0x69
000000A2 6D65 blt +0x67 /* 00000109 */
000000A4 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000000A6-000000AA
export_41:
fn000000A6:
000000A6 4E56 FFFC link A6, -0x0004
// end alternate branch 000000A6-000000AA
export_41: // at 000000A6 (misaligned)
fn000000A6: // (misaligned)
000000A8 FFFC .extension 0xFFC // unimplemented
000000AA 48E7 0018 movem.l -[A7], A3,A4
000000AE 266E 001A movea.l A3, [A6 + 0x1A]
000000B2 286E 0008 movea.l A4, [A6 + 0x8]
000000B6 1D6E 0025 FFFC move.b [A6 - 0x4], [A6 + 0x25]
000000BC 3D6E 0018 FFFE move.w [A6 - 0x2], [A6 + 0x18]
000000C2 2F0C move.l -[A7], A4
000000C4 41EE 0016 lea.l A0, [A6 + 0x16]
000000C8 2F20 move.l -[A7], -[A0]
label000000C9: // (misaligned)
000000CA 2F20 move.l -[A7], -[A0]
000000CC 3F20 move.w -[A7], -[A0]
000000CE 486E FFFC pea.l [A6 - 0x4]
000000D2 4EAD 01B2 jsr [A5 + 0x1B2]
000000D6 102C 0005 move.b D0, [A4 + 0x5]
000000DA 0400 0030 subi.b D0, 0x30 /* '0' */
000000DE 4FEF 0012 lea.l A7, [A7 + 0x12]
000000E2 6736 beq +0x38 /* 0000011A */
000000E4 0400 000F subi.b D0, 0xF
000000E8 670C beq +0xE /* 000000F6 */
000000EA 0400 000A subi.b D0, 0xA /* '\n' */
000000EE 673E beq +0x40 /* 0000012E */
000000F0 5B00 subq.b D0, 5
000000F2 673A beq +0x3C /* 0000012E */
000000F4 6028 bra +0x2A /* 0000011E */
label000000F6:
000000F6 7000 moveq.l D0, 0x00
000000F8 2F00 move.l -[A7], D0
000000FA 2F2E 001E move.l -[A7], [A6 + 0x1E]
000000FE 2F0B move.l -[A7], A3
00000100 7213 moveq.l D1, 0x13
00000102 2F01 move.l -[A7], D1
00000104 41EE 0016 lea.l A0, [A6 + 0x16]
00000108 2F20 move.l -[A7], -[A0]
label00000109: // (misaligned)
0000010A 2F20 move.l -[A7], -[A0]
0000010C 3F20 move.w -[A7], -[A0]
0000010E 2F0C move.l -[A7], A4
00000110 4EBA FF94 jsr [PC - 0x6C /* 000000A6 */]
00000114 4FEF 001E lea.l A7, [A7 + 0x1E]
00000118 6030 bra +0x32 /* 0000014A */
label0000011A:
0000011A 426C 0002 clr.w [A4 + 0x2]
label0000011E:
0000011E 7000 moveq.l D0, 0x00
00000120 102C 0004 move.b D0, [A4 + 0x4]
00000124 322C 0002 move.w D1, [A4 + 0x2]
00000128 48C1 ext.l D1
0000012A D280 add.l D1, D0
0000012C 2681 move.l [A3], D1
label0000012E:
0000012E 1014 move.b D0, [A4]
00000130 4880 ext.w D0
00000132 48C0 ext.l D0
00000134 206E 001E movea.l A0, [A6 + 0x1E]
00000138 2080 move.l [A0], D0
0000013A 7000 moveq.l D0, 0x00
0000013C 102C 0004 move.b D0, [A4 + 0x4]
00000140 4234 0005 clr.b [A4 + D0.w + 0x5]
00000144 204C movea.l A0, A4
00000146 5A88 addq.l A0, 5
00000148 2008 move.l D0, A0
label0000014A:
0000014A 4CEE 1800 FFF4 movem.l A4,A3, [A6 - 0xC]
00000150 4E5E unlink A6
00000152 4E75 rts
00000154 845F or.w D2, [A7]+
00000156 6376 bls +0x78 /* 000001CE */
00000158 7400 moveq.l D2, 0x00
0000015A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000015C-00000160
fn0000015C:
0000015C 4E56 FFF2 link A6, -0x000E
// end alternate branch 0000015C-00000160
fn0000015C: // (misaligned)
0000015E FFF2 .extension 0xFF2 // unimplemented
00000160 2F0C move.l -[A7], A4
00000162 49ED FAA2 lea.l A4, [A5 - 0x55E]
00000166 206E 0008 movea.l A0, [A6 + 0x8]
0000016A 2010 move.l D0, [A0]
0000016C 41EE FFF2 lea.l A0, [A6 - 0xE]
00000170 A9C6 trap SecondsToDate/Secs2Date
00000172 302E FFF2 move.w D0, [A6 - 0xE]
00000176 48C0 ext.l D0
00000178 90BC 0000 076C sub.l D0, 0x76C
0000017E 2B40 FA92 move.l [A5 - 0x56E], D0
00000182 302E FFF4 move.w D0, [A6 - 0xC]
00000186 48C0 ext.l D0
00000188 5380 subq.l D0, 1
0000018A 2B40 FA8E move.l [A5 - 0x572], D0
0000018E 302E FFF6 move.w D0, [A6 - 0xA]
00000192 48C0 ext.l D0
00000194 2B40 FA8A move.l [A5 - 0x576], D0
00000198 302E FFF8 move.w D0, [A6 - 0x8]
0000019C 48C0 ext.l D0
0000019E 2B40 FA86 move.l [A5 - 0x57A], D0
000001A2 302E FFFA move.w D0, [A6 - 0x6]
000001A6 48C0 ext.l D0
000001A8 2B40 FA82 move.l [A5 - 0x57E], D0
000001AC 302E FFFC move.w D0, [A6 - 0x4]
000001B0 48C0 ext.l D0
000001B2 2B40 FA7E move.l [A5 - 0x582], D0
000001B6 302E FFFE move.w D0, [A6 - 0x2]
000001BA 48C0 ext.l D0
000001BC 5380 subq.l D0, 1
000001BE 2B40 FA96 move.l [A5 - 0x56A], D0
000001C2 70FF moveq.l D0, 0xFFFFFFFF
000001C4 2B40 FA9E move.l [A5 - 0x562], D0
000001C8 322D FA90 move.w D1, [A5 - 0x570]
000001CC E541 asl D1.w, 2
label000001CE:
000001CE 2B74 1000 FA9A move.l [A5 - 0x566], [A4 + D1.w]
000001D4 202D FA92 move.l D0, [A5 - 0x56E]
000001D8 7204 moveq.l D1, 0x04
000001DA 4EAD 008A jsr [A5 + 0x8A]
000001DE 4A80 tst.l D0
000001E0 6610 bne +0x12 /* 000001F2 */
000001E2 7001 moveq.l D0, 0x01
000001E4 B0AD FA8E cmp.l D0, [A5 - 0x572]
000001E8 6C08 bge +0xA /* 000001F2 */
000001EA 202D FA9A move.l D0, [A5 - 0x566]
000001EE 52AD FA9A addq.l [A5 - 0x566], 1
label000001F2:
000001F2 202D FA8A move.l D0, [A5 - 0x576]
000001F6 5380 subq.l D0, 1
000001F8 D1AD FA9A add.l [A5 - 0x566], D0
000001FC 41ED FA7E lea.l A0, [A5 - 0x582]
00000200 2008 move.l D0, A0
00000202 286E FFEE movea.l A4, [A6 - 0x12]
00000206 4E5E unlink A6
00000208 4E75 rts
0000020A 896C 6F63 or.w [A4 + 0x6F63], D4
0000020E 616C bsr +0x6E /* 0000027C */
00000210 7469 moveq.l D2, 0x69
00000212 6D65 blt +0x67 /* 00000279 */
00000214 0000 4CEF ori.b D0, 0xEF
export_42: // at 00000216 (misaligned)
00000218 0300 btst D0, D1
0000021A 0004 2008 ori.b D4, 0x8
0000021E 2F02 move.l -[A7], D2
00000220 222F 0010 move.l D1, [A7 + 0x10]
00000224 0C81 0000 0011 cmpi.l D1, 0x11
0000022A 6D2E blt +0x30 /* 0000025A */
0000022C 2409 move.l D2, A1
0000022E B102 xor.b D2, D0
00000230 E20A lsr D2.b, 1
00000232 6526 bcs +0x28 /* 0000025A */
00000234 0800 0000 btst.b D0, 0x0
00000238 6704 beq +0x6 /* 0000023E */
0000023A 10D9 move.b [A0]+, [A1]+
0000023C 5381 subq.l D1, 1
label0000023E:
0000023E 2401 move.l D2, D1
00000240 E88A lsr D2, 4
00000242 5382 subq.l D2, 1
label00000244:
00000244 20D9 move.l [A0]+, [A1]+
00000246 20D9 move.l [A0]+, [A1]+
00000248 20D9 move.l [A0]+, [A1]+
0000024A 20D9 move.l [A0]+, [A1]+
0000024C 5382 subq.l D2, 1
0000024E 64F4 bcc -0xA /* 00000244 */
00000250 0281 0000 000F andi.l D1, 0xF
00000256 6002 bra +0x4 /* 0000025A */
label00000258:
00000258 10D9 move.b [A0]+, [A1]+
label0000025A:
0000025A 5381 subq.l D1, 1
0000025C 64FA bcc -0x4 /* 00000258 */
0000025E 241F move.l D2, [A7]+
00000260 4E75 rts
00000262 866D 656D or.w D3, [A5 + 0x656D]
00000266 6370 bls +0x72 /* 000002D8 */
00000268 7900 moveq.l D4, 0x00
0000026A 0000 206F ori.b D0, 0x6F /* 'o' */
export_43: // at 0000026C (misaligned)
0000026E 0004 4CEF ori.b D4, 0xEF
00000272 0003 0008 ori.b D3, 0x8
00000276 0C81 0000 0013 cmpi.l D1, 0x13
label00000279: // (misaligned)
fn0000027C:
0000027C 6D3A blt +0x3C /* 000002B8 */
0000027E 7400 moveq.l D2, 0x00
00000280 1400 move.b D2, D0
00000282 E148 lsl D0.w, 8
00000284 8440 or.w D2, D0
00000286 2002 move.l D0, D2
00000288 4842 swap.w D2
0000028A 8082 or.l D0, D2
0000028C 2408 move.l D2, A0
0000028E E20A lsr D2.b, 1
00000290 6404 bcc +0x6 /* 00000296 */
00000292 10C0 move.b [A0]+, D0
00000294 5381 subq.l D1, 1
label00000296:
00000296 E20A lsr D2.b, 1
00000298 6404 bcc +0x6 /* 0000029E */
0000029A 30C0 move.w [A0]+, D0
0000029C 5581 subq.l D1, 2
label0000029E:
0000029E 2401 move.l D2, D1
000002A0 E88A lsr D2, 4
000002A2 5382 subq.l D2, 1
label000002A4:
000002A4 20C0 move.l [A0]+, D0
000002A6 20C0 move.l [A0]+, D0
000002A8 20C0 move.l [A0]+, D0
000002AA 20C0 move.l [A0]+, D0
000002AC 5382 subq.l D2, 1
000002AE 64F4 bcc -0xA /* 000002A4 */
000002B0 0241 000F andi.w D1, 0xF
000002B4 6002 bra +0x4 /* 000002B8 */
label000002B6:
000002B6 10C0 move.b [A0]+, D0
label000002B8:
000002B8 51C9 FFFC dbf D1, -0x6 /* 000002B6 */
000002BC 202F 0004 move.l D0, [A7 + 0x4]
000002C0 4E75 rts
000002C2 866D 656D or.w D3, [A5 + 0x656D]
000002C6 7365 moveq.l D1, 0x65
000002C8 7400 moveq.l D2, 0x00
000002CA 0000 4CEF ori.b D0, 0xEF
export_44: // at 000002CC (misaligned)
000002CE 0300 btst D0, D1
000002D0 0004 2008 ori.b D4, 0x8
label000002D4:
000002D4 10D9 move.b [A0]+, [A1]+
000002D6 66FC bne -0x2 /* 000002D4 */
label000002D8:
000002D8 4E75 rts
000002DA 8673 7472 or.w D3, [A3 + D7.w * 4 + 0x72]
000002DE 6370 bls +0x72 /* 00000350 */
000002E0 7900 moveq.l D4, 0x00
000002E2 0000 206F ori.b D0, 0x6F /* 'o' */
export_45: // at 000002E4 (misaligned)
000002E6 0004 2248 ori.b D4, 0x48 /* 'H' */
label000002EA:
000002EA 4A18 tst.b [A0]+
000002EC 66FC bne -0x2 /* 000002EA */
000002EE 91C9 sub.l A0, A1
000002F0 2008 move.l D0, A0
000002F2 5380 subq.l D0, 1
000002F4 4E75 rts
000002F6 8673 7472 or.w D3, [A3 + D7.w * 4 + 0x72]
000002FA 6C65 bge +0x67 /* 00000361 */
000002FC 6E00 0000 bgt +0x2 /* 000002FE */
// begin alternate branch 000002FE-0000030C
label000002FE:
000002FE 0000 4CEF ori.b D0, 0xEF
export_46: // at 00000300 (misaligned)
00000302 0300 btst D0, D1
00000304 0004 222F ori.b D4, 0x2F /* '/' */
00000308 000C 7001 ori.b A4, 0x1
// end alternate branch 000002FE-0000030C
export_46:
label000002FE: // (misaligned)
00000300 4CEF 0300 0004 movem.l A1,A0, [A7 + 0x4]
00000306 222F 000C move.l D1, [A7 + 0xC]
0000030A 7001 moveq.l D0, 0x01
0000030C 6004 bra +0x6 /* 00000312 */
label0000030E:
0000030E 4841 swap.w D1
label00000310:
00000310 10D9 move.b [A0]+, [A1]+
label00000312:
00000312 57C9 FFFC dbeq D1, -0x6 /* 00000310 */
00000316 670C beq +0xE /* 00000324 */
00000318 4841 swap.w D1
0000031A 51C9 FFF2 dbf D1, -0x10 /* 0000030E */
0000031E 600E bra +0x10 /* 0000032E */
label00000320:
00000320 4841 swap.w D1
label00000322:
00000322 4218 clr.b [A0]+
label00000324:
00000324 51C9 FFFC dbf D1, -0x6 /* 00000322 */
00000328 4841 swap.w D1
0000032A 51C9 FFF4 dbf D1, -0xE /* 00000320 */
label0000032E:
0000032E 202F 0004 move.l D0, [A7 + 0x4]
00000332 4E75 rts
00000334 8773 7472 or.w [A3 + D7.w * 4 + 0x72], D3
00000338 6E63 bgt +0x65 /* 0000039D */
0000033A 7079 moveq.l D0, 0x79
0000033C 0000 .incomplete